package com.property.management.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.property.common.annotation.Excel;
import com.property.common.core.domain.BaseEntity;

/**
 * 投诉信息对象 complain_info
 * 
 * @author property
 * @date 2021-05-08
 */
public class ComplainInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 投诉人编号 */
    @Excel(name = "投诉人编号")
    private String complainResidentNo;

    /** 投诉类型 */
    @Excel(name = "投诉类型")
    private String complainType;

    /** 投诉状态 */
    @Excel(name = "投诉状态")
    private String complainStatus;

    /** 投诉时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "投诉时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date complainTime;

    /** 投诉原因 */
    @Excel(name = "投诉原因")
    private String complainReason;

    /** 投诉解决时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "投诉解决时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date complainSolveTime;

    /** 解决类型 */
    @Excel(name = "解决类型")
    private String complainSolveType;

    /** 解决结果 */
    @Excel(name = "解决结果")
    private String complainSolveResult;

    /** 所属小区id */
    private Integer courtId;

    /** 删除标志 */
    private Integer isDel;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setComplainResidentNo(String complainResidentNo) 
    {
        this.complainResidentNo = complainResidentNo;
    }

    public String getComplainResidentNo() 
    {
        return complainResidentNo;
    }
    public void setComplainType(String complainType) 
    {
        this.complainType = complainType;
    }

    public String getComplainType() 
    {
        return complainType;
    }
    public void setComplainStatus(String complainStatus) 
    {
        this.complainStatus = complainStatus;
    }

    public String getComplainStatus() 
    {
        return complainStatus;
    }
    public void setComplainTime(Date complainTime) 
    {
        this.complainTime = complainTime;
    }

    public Date getComplainTime() 
    {
        return complainTime;
    }
    public void setComplainReason(String complainReason) 
    {
        this.complainReason = complainReason;
    }

    public String getComplainReason() 
    {
        return complainReason;
    }
    public void setComplainSolveTime(Date complainSolveTime) 
    {
        this.complainSolveTime = complainSolveTime;
    }

    public Date getComplainSolveTime() 
    {
        return complainSolveTime;
    }
    public void setComplainSolveType(String complainSolveType) 
    {
        this.complainSolveType = complainSolveType;
    }

    public String getComplainSolveType() 
    {
        return complainSolveType;
    }
    public void setComplainSolveResult(String complainSolveResult) 
    {
        this.complainSolveResult = complainSolveResult;
    }

    public String getComplainSolveResult() 
    {
        return complainSolveResult;
    }
    public void setCourtId(Integer courtId) 
    {
        this.courtId = courtId;
    }

    public Integer getCourtId() 
    {
        return courtId;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("complainResidentNo", getComplainResidentNo())
            .append("complainType", getComplainType())
            .append("complainStatus", getComplainStatus())
            .append("complainTime", getComplainTime())
            .append("complainReason", getComplainReason())
            .append("complainSolveTime", getComplainSolveTime())
            .append("complainSolveType", getComplainSolveType())
            .append("complainSolveResult", getComplainSolveResult())
            .append("courtId", getCourtId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDel", getIsDel())
            .toString();
    }
}
